class Test(object):

    def q(self):
        c = 3
    <caret><selection>a = 1
    b = 2
</selection>